package com.prp.gwt.client.vo;

import com.google.gwt.user.client.rpc.IsSerializable;

public class NewMail implements IsSerializable{
	private String title;
	private String address;
	private String content;
	private int receiverID;
	
	public NewMail(){
		this.title = "";
		address = "";
		content = "";
		receiverID = -1;//-1不可以是用户的主键
	}
	
	public NewMail(int receiverID, String address, String title, String content){
		this.title = title;
		this.receiverID = receiverID;
		this.address = address;
		this.content = content;
	}
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getReceiverID() {
		return receiverID;
	}
	public void setReceiverID(int receiverID) {
		this.receiverID = receiverID;
	}
}
